package Chpter4;

interface Animal14{
	void shout();
}

public class Example18 {
	public static void main(String[] args) {
		class Cat implements Animal14{
			public void shout() {
				System.out.println("maio");
			}
		}
		animalShout(new Cat());
	}
	public static void animalShout(Animal14 an) {
		an.shout();
	}

}
